package models

import (
	"time"
)

type User struct {
	Email              string    `xorm:"not null unique(uc_2cd01e89afdcebf3621eb5c7f) VARCHAR(255)"`
	ImageFileId        string    `xorm:"VARCHAR(32)"`
	IsAccountNonLocked int       `xorm:"not null INT"`
	Password           string    `xorm:"not null VARCHAR(64)"`
	RoleId             int64     `xorm:"not null BIGINT"`
	UserId             int64     `xorm:"not null pk BIGINT autoincr"`
	UserRegisterTime   time.Time `xorm:"not null DATETIME created"`
	Username           string    `xorm:"not null unique(uc_2cd01e89afdcebf3621eb5c7f) VARCHAR(255)"`
}
